#ifndef __BOARD_H__
#define __BOARD_H__

#include <QtGui/QMainWindow>

class LcdDialog;

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = 0, Qt::WindowFlags flags = 0);
    virtual ~MainWindow();

public:
    void showLcd();

protected:
    virtual void closeEvent(QCloseEvent *event);

public slots:
//    void startClicked();
    void stopClicked();
    void stepClicked();
    void runClicked();
    void dumpClicked();
    void key1Pressed();
    void key1Released();
    void fillImage();

private:
    LcdDialog *mLcd;
};

#endif
